<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>fdk-aac: original/libSBRdec/src/hbe.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">fdk-aac
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_ed137715e08969a186ec660e8ae6e2fb.html">original</a></li><li class="navelem"><a class="el" href="dir_222de58a05c98cc4a78309a37525cd28.html">libSBRdec</a></li><li class="navelem"><a class="el" href="dir_c997d48ad60fbe63e2ba342b9c79db98.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">hbe.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Fast FFT routines prototypes.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;hbe.h&quot;</code><br />
<code>#include &quot;<a class="el" href="qmf_8h_source.html">qmf.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="env__extr_8h_source.html">env_extr.h</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a35d2410f197b410dbbb2fc0d77e8bd40"><td class="memItemLeft" align="right" valign="top"><a id="a35d2410f197b410dbbb2fc0d77e8bd40"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>HBE_MAX_QMF_BANDS</b>&#160;&#160;&#160;(40)</td></tr>
<tr class="separator:a35d2410f197b410dbbb2fc0d77e8bd40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae48321079f7c7ed81ff571624ac8370e"><td class="memItemLeft" align="right" valign="top"><a id="ae48321079f7c7ed81ff571624ac8370e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>HBE_MAX_OUT_SLOTS</b>&#160;&#160;&#160;(11)</td></tr>
<tr class="separator:ae48321079f7c7ed81ff571624ac8370e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cee7b557cb7a10e9a13038bf1d26c06"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>QMF_WIN_LEN</b></td></tr>
<tr class="separator:a8cee7b557cb7a10e9a13038bf1d26c06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a598a3330b3c21701223ee0ca14316eca"><td class="memItemLeft" align="right" valign="top"><a id="a598a3330b3c21701223ee0ca14316eca"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PI</b>&#160;&#160;&#160;3.14159265358979323846</td></tr>
<tr class="separator:a598a3330b3c21701223ee0ca14316eca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6cf65cec21b60cdfe31372f3102b97b"><td class="memItemLeft" align="right" valign="top"><a id="ac6cf65cec21b60cdfe31372f3102b97b"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PSCALE</b>&#160;&#160;&#160;32</td></tr>
<tr class="separator:ac6cf65cec21b60cdfe31372f3102b97b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d19df6ac39f71b4ec2ec29043d863c2"><td class="memItemLeft" align="right" valign="top"><a id="a2d19df6ac39f71b4ec2ec29043d863c2"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>HTW</b>(x)&#160;&#160;&#160;(x)</td></tr>
<tr class="separator:a2d19df6ac39f71b4ec2ec29043d863c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08c536ac1bbc62fe5be97aadb99fe198"><td class="memItemLeft" align="right" valign="top"><a id="a08c536ac1bbc62fe5be97aadb99fe198"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CUBE_ROOT_BITS</b>&#160;&#160;&#160;7</td></tr>
<tr class="separator:a08c536ac1bbc62fe5be97aadb99fe198"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9073129dabdd22589ccffd1ad970990e"><td class="memItemLeft" align="right" valign="top"><a id="a9073129dabdd22589ccffd1ad970990e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CUBE_ROOT_VALUES</b>&#160;&#160;&#160;(128 + 2)</td></tr>
<tr class="separator:a9073129dabdd22589ccffd1ad970990e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeabc5a6793f51bde13529ba86c960e52"><td class="memItemLeft" align="right" valign="top"><a id="aeabc5a6793f51bde13529ba86c960e52"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CUBE_ROOT_BITS_MASK</b>&#160;&#160;&#160;0x7f</td></tr>
<tr class="separator:aeabc5a6793f51bde13529ba86c960e52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1994fe2bbcb63094a398ca131f2c84d3"><td class="memItemLeft" align="right" valign="top"><a id="a1994fe2bbcb63094a398ca131f2c84d3"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CUBE_ROOT_FRACT_BITS_MASK</b>&#160;&#160;&#160;0x007FFFFF</td></tr>
<tr class="separator:a1994fe2bbcb63094a398ca131f2c84d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a329a562a9cbd14146dd0a6bb178afb4e"><td class="memItemLeft" align="right" valign="top"><a id="a329a562a9cbd14146dd0a6bb178afb4e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>FOURTHROOT_BITS</b>&#160;&#160;&#160;7</td></tr>
<tr class="separator:a329a562a9cbd14146dd0a6bb178afb4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a652670b2c8950f8da54ae24840451c3a"><td class="memItemLeft" align="right" valign="top"><a id="a652670b2c8950f8da54ae24840451c3a"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>FOURTHROOT_VALUES</b>&#160;&#160;&#160;(128 + 2)</td></tr>
<tr class="separator:a652670b2c8950f8da54ae24840451c3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ece43c78e556d04f51052cad883580d"><td class="memItemLeft" align="right" valign="top"><a id="a5ece43c78e556d04f51052cad883580d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>FOURTHROOT_BITS_MASK</b>&#160;&#160;&#160;0x7f</td></tr>
<tr class="separator:a5ece43c78e556d04f51052cad883580d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a101a4365553d7d9f81d1bc6d52680f"><td class="memItemLeft" align="right" valign="top"><a id="a9a101a4365553d7d9f81d1bc6d52680f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>FOURTHROOT_FRACT_BITS_MASK</b>&#160;&#160;&#160;0x007FFFFF</td></tr>
<tr class="separator:a9a101a4365553d7d9f81d1bc6d52680f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a479f033e5e8f2f50b7f8685b08f9ed9c"><td class="memItemLeft" align="right" valign="top"><a id="a479f033e5e8f2f50b7f8685b08f9ed9c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>THREEIGTHROOT_BITS</b>&#160;&#160;&#160;7</td></tr>
<tr class="separator:a479f033e5e8f2f50b7f8685b08f9ed9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf043fa459b888323a864e2b6a49850b"><td class="memItemLeft" align="right" valign="top"><a id="acf043fa459b888323a864e2b6a49850b"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>THREEIGTHROOT_VALUES</b>&#160;&#160;&#160;(128 + 2)</td></tr>
<tr class="separator:acf043fa459b888323a864e2b6a49850b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb95be8ef3d4a1edb295f66ac4904103"><td class="memItemLeft" align="right" valign="top"><a id="aeb95be8ef3d4a1edb295f66ac4904103"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>THREEIGTHROOT_BITS_MASK</b>&#160;&#160;&#160;0x7f</td></tr>
<tr class="separator:aeb95be8ef3d4a1edb295f66ac4904103"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4faa6da1f866a3881ce2be0fdc25d72b"><td class="memItemLeft" align="right" valign="top"><a id="a4faa6da1f866a3881ce2be0fdc25d72b"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>THREEIGTHROOT_FRACT_BITS_MASK</b>&#160;&#160;&#160;0x007FFFFF</td></tr>
<tr class="separator:a4faa6da1f866a3881ce2be0fdc25d72b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a1cc94fbda8c0e2fb5f8fc01a4946bfa3"><td class="memItemLeft" align="right" valign="top"><a id="a1cc94fbda8c0e2fb5f8fc01a4946bfa3"></a>
SBR_ERROR&#160;</td><td class="memItemRight" valign="bottom"><b>QmfTransposerCreate</b> (<a class="el" href="structhbe_transposer.html">HANDLE_HBE_TRANSPOSER</a> *hQmfTransposer, const int frameSize, int bDisableCrossProducts, int bSbr41)</td></tr>
<tr class="separator:a1cc94fbda8c0e2fb5f8fc01a4946bfa3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24ca4d68c492d6ea25214216b233eb6d"><td class="memItemLeft" align="right" valign="top"><a id="a24ca4d68c492d6ea25214216b233eb6d"></a>
SBR_ERROR&#160;</td><td class="memItemRight" valign="bottom"><b>QmfTransposerReInit</b> (<a class="el" href="structhbe_transposer.html">HANDLE_HBE_TRANSPOSER</a> hQmfTransposer, <a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> *FreqBandTable[2], <a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> NSfb[2])</td></tr>
<tr class="separator:a24ca4d68c492d6ea25214216b233eb6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7154f68915d31eeeb5d5dd3b3ab4b77"><td class="memItemLeft" align="right" valign="top"><a id="aa7154f68915d31eeeb5d5dd3b3ab4b77"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>QmfTransposerClose</b> (<a class="el" href="structhbe_transposer.html">HANDLE_HBE_TRANSPOSER</a> hQmfTransposer)</td></tr>
<tr class="separator:aa7154f68915d31eeeb5d5dd3b3ab4b77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40a0aa68ab39589d1478ecb909a7e08d"><td class="memItemLeft" align="right" valign="top"><a id="a40a0aa68ab39589d1478ecb909a7e08d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>scaleUp</b> (FIXP_DBL *real_m, FIXP_DBL *imag_m, <a class="el" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> *_e)</td></tr>
<tr class="separator:a40a0aa68ab39589d1478ecb909a7e08d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76514d53f404772c3e56bac7842b25b0"><td class="memItemLeft" align="right" valign="top"><a id="a76514d53f404772c3e56bac7842b25b0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>QmfTransposerApply</b> (<a class="el" href="structhbe_transposer.html">HANDLE_HBE_TRANSPOSER</a> hQmfTransposer, FIXP_DBL **qmfBufferCodecReal, FIXP_DBL **qmfBufferCodecImag, int nColsIn, FIXP_DBL **ppQmfBufferOutReal_F, FIXP_DBL **ppQmfBufferOutImag_F, FIXP_DBL lpcFilterStatesReal[2+(3 *(4))][(64)], FIXP_DBL lpcFilterStatesImag[2+(3 *(4))][(64)], int pitchInBins, int scale_lb, int scale_hbe, int *scale_hb, int timeStep, int firstSlotOffsset, int ov_len, KEEP_STATES_SYNCED_MODE keepStatesSyncedMode)</td></tr>
<tr class="separator:a76514d53f404772c3e56bac7842b25b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc9ffe6126de01b9b7604d787eeca43b"><td class="memItemLeft" align="right" valign="top"><a id="acc9ffe6126de01b9b7604d787eeca43b"></a>
int *&#160;</td><td class="memItemRight" valign="bottom"><b>GetxOverBandQmfTransposer</b> (<a class="el" href="structhbe_transposer.html">HANDLE_HBE_TRANSPOSER</a> hQmfTransposer)</td></tr>
<tr class="separator:acc9ffe6126de01b9b7604d787eeca43b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d1d10e74100acd193ff7eaeebe1afc1"><td class="memItemLeft" align="right" valign="top"><a id="a1d1d10e74100acd193ff7eaeebe1afc1"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>Get41SbrQmfTransposer</b> (<a class="el" href="structhbe_transposer.html">HANDLE_HBE_TRANSPOSER</a> hQmfTransposer)</td></tr>
<tr class="separator:a1d1d10e74100acd193ff7eaeebe1afc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Fast FFT routines prototypes. </p>
<dl class="section author"><dt>Author</dt><dd>Fabian Haussel </dd></dl>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a8cee7b557cb7a10e9a13038bf1d26c06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8cee7b557cb7a10e9a13038bf1d26c06">&#9670;&nbsp;</a></span>QMF_WIN_LEN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define QMF_WIN_LEN</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">  (12 + 6 - 4 - 1) <span class="comment">/* 6 subband slots extra delay to align with HQ - 4 slots \</span></div>
<div class="line"><span class="comment">                      to compensate for critical sampling delay - 1 slot to  \</span></div>
<div class="line"><span class="comment">                      align critical sampling exactly (w additional time     \</span></div>
<div class="line"><span class="comment">                      domain delay)*/</span></div>
</div><!-- fragment -->
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
